import React, { useState } from "react";
import { Table, Form } from "antd";
const QueryTable = (props) => {
  return (
    <Form form={form} component={false}>
      <Table
        components={{
          body: {
            cell: EditableCell,
          },
        }}
        bordered
        dataSource={data}
        columns={mergedColumns}
        rowClassName="editable-row"
        pagination={{
          onChange: cancel,
        }}
      />{" "}
    </Form>
  );
};
